<?php

/**
 * Project: CrazyPoems
 * Author: Alexandru
 * Date: 20/10/2008
 * File: logout.php
 */

// Load default settings.
require('inc/config.php');

// Logout
$lang = $cookie->lang;
session_destroy();
$cookie->logout();
$cookie->lang = $lang;
header("Location: ".BASE_URL);

// End page.
require('inc/end.php');
?>
